import React from 'react';
import { View } from '@tarojs/components';
import './index.scss';

const DropDownArrow = ({ director = 'down', active = false }) => {
  return (
    <View
      className={[
        'dropDownArrow',
        director == 'down' && 'down',
        director == 'up' && 'up customePageBorderBottomStyle',
        active && 'active',
      ].join(' ')}
    ></View>
  );
};

export default DropDownArrow;
